Thanks Thomas!
This works perfectly ~
Found 2 posts.
Search results Show results as topic list.
Technical Discussion » Compare String Array against @name on packed prims
- trevor kerr
- 3 posts
- Offline
Technical Discussion » Compare String Array against @name on packed prims
- trevor kerr
- 3 posts
- Offline
Hello!
First time poster ~
I have a wrangle set after an assemble sop and am currently having success with:
string shatter_points = chs('Pieces_to_Break');
if(@name != shatter_points)
removepoint(0,@ptnum);
Where Pieces_to_Break can contain one name. Effectively this deletes all but the named packed primitive.
I'd like to amend this so that I can enter an array of pieces to “keep”. Any thoughts?
Thanks in advance!!
First time poster ~
I have a wrangle set after an assemble sop and am currently having success with:
string shatter_points = chs('Pieces_to_Break');
if(@name != shatter_points)
removepoint(0,@ptnum);
Where Pieces_to_Break can contain one name. Effectively this deletes all but the named packed primitive.
I'd like to amend this so that I can enter an array of pieces to “keep”. Any thoughts?
Thanks in advance!!
-
- Quick Links